package com.ebupt.migu.music.common.record;

import com.ebupt.migu.music.common.util.DateUtil;

/**
 * @description: 策略类型
 * @author: liuyangyang@ebupt.com
 * @date: 2021/3/17 15:05
 */
public enum TacTypeEnum {

    SMS("a_10008_80010_", "/home/rfment/shared/fine-operation/sms-send-record/"),
    PUSH("a_10008_80025_", "/home/rfment/shared/fine-operation/push-send-record/"),
    MESSAGE("a_10008_80026_", "/home/rfment/shared/fine-operation/message-send-record/");

    private String fileName;
    private String recordPath;

    public String getFileName(String sid) {
        return fileName + DateUtil.getDateToday() + "_" + sid + ".dat";
    }

    public String getRecordPath() {
        return recordPath;
    }

    TacTypeEnum(String fileName, String recordPath) {
        this.fileName = fileName;
        this.recordPath = recordPath;
    }
}
